package com.lst.service;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.lst.model.OnlineCourse;

public interface OnlineCourseService {
	
	int deleteByPrimaryKey(Integer id);

    int insert(OnlineCourse record);

    int insertSelective(OnlineCourse record);

    OnlineCourse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OnlineCourse record);

    int updateByPrimaryKey(OnlineCourse record);

    List<OnlineCourse> queryList(Map<String, Object> map);
    
    List<OnlineCourse> queryList2(Map<String, Object> map);
    
    List<OnlineCourse> queryList3(Map<String, Object> map,PageBounds pageBounds);

    List<OnlineCourse> queryByList(Map<String, Object> map,PageBounds pageBounds);
    
    List<OnlineCourse> queryByInstrument(Map<String, Object> map);
    
    List<OnlineCourse> queryByRun(Map<String, Object> map);
    
    List<OnlineCourse> queryByCommon(Map<String, Object> map);
    
    int countByMap(Map<String, Object> map);
}
